package org.jeecg.modules.htxincailiao.account.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: ht_alliance_secretary
 * @Author: jeecg-boot
 * @Date:   2021-12-24 21:20:45
 * @Version: V1.0
 */
@Data
@TableName("ht_alliance_secretary")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ht_alliance_secretary对象", description="ht_alliance_secretary")
public class HTAllianceSecretary implements Serializable {
    private static final long serialVersionUID = 1L;

	/**用户ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "用户ID")
    private String id;
	/**联盟ID*/
	@Excel(name = "联盟ID", width = 15, dictTable = "ht_alliance", dicText = "enterprise_name", dicCode = "id")
	@Dict(dictTable = "ht_alliance", dicText = "enterprise_name", dicCode = "id")
    @ApiModelProperty(value = "联盟ID")
    private String allianceId;
	/**账户类型*/
	@Excel(name = "账户类型", width = 15, dicCode = "account_type")
	@Dict(dicCode = "account_type")
    @ApiModelProperty(value = "账户类型")
    private Integer accountType;
	/**注册渠道(0-PC，1-公众号，2-后台）*/
	@Excel(name = "注册渠道(0-PC，1-公众号，2-后台）", width = 15, dicCode = "sign_up_channel")
	@Dict(dicCode = "sign_up_channel")
    @ApiModelProperty(value = "注册渠道(0-PC，1-公众号，2-后台）")
    private Integer channel;
	/**部门ID*/
	@Excel(name = "部门ID", width = 15, dictTable = "ht_alliance_depart", dicText = "name", dicCode = "id")
	@Dict(dictTable = "ht_alliance_depart", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "部门ID")
    private String departId;
	/**腾讯账号ID（管理腾讯平台账户体系）*/
	@Excel(name = "腾讯账号ID（管理腾讯平台账户体系）", width = 15)
    @ApiModelProperty(value = "腾讯账号ID（管理腾讯平台账户体系）")
    private String tencentAccountId;
	/**设备ID*/
	@Excel(name = "设备ID", width = 15)
    @ApiModelProperty(value = "设备ID")
    private String clientId;
	/**多租户标识*/
	@Excel(name = "多租户标识", width = 15)
    @ApiModelProperty(value = "多租户标识")
    private String relTenantIds;
	/**手机号*/
	@Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private String phoneNumber;
	/**用户名*/
	@Excel(name = "用户名", width = 15)
    @ApiModelProperty(value = "用户名")
    private String username;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private String realName;
	/**昵称*/
	@Excel(name = "昵称", width = 15)
    @ApiModelProperty(value = "昵称")
    private String nickname;
	/**密码(必须包含大小写字母和数字的组合，可以使用特殊字符(~!@#$%^&*)，长度在8-32之间)*/
	@Excel(name = "密码(必须包含大小写字母和数字的组合，可以使用特殊字符(~!@#$%^&*)，长度在8-32之间)", width = 15)
    @ApiModelProperty(value = "密码(必须包含大小写字母和数字的组合，可以使用特殊字符(~!@#$%^&*)，长度在8-32之间)")
    private String password;
	/**密码盐*/
	@Excel(name = "密码盐", width = 15)
    @ApiModelProperty(value = "密码盐")
    private String salt;
	/**引理摘要*/
	@Excel(name = "引理摘要", width = 15)
    @ApiModelProperty(value = "引理摘要")
    private String lemmaSummary;
	/**简介*/
	@Excel(name = "简介", width = 15)
    @ApiModelProperty(value = "简介")
    private String introduction;

	/**职位*/
	@Excel(name = "职位", width = 15)
    @ApiModelProperty(value = "职位")
    private String position;
	/**头像*/
	@Excel(name = "头像", width = 15)
    @ApiModelProperty(value = "头像")
    private String avatar;
	/**资质证件*/
	@Excel(name = "资质证件", width = 15)
    @ApiModelProperty(value = "资质证件")
    private String certificateAttachment;
	/**性别*/
	@Excel(name = "性别", width = 15, dicCode = "gender")
	@Dict(dicCode = "gender")
    @ApiModelProperty(value = "性别")
    private Integer gender;
	/**邮箱*/
	@Excel(name = "邮箱", width = 15)
    @ApiModelProperty(value = "邮箱")
    private String email;
	/**生日*/
	@Excel(name = "生日", width = 15, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "生日")
    private Date birthday;
	/**工号*/
	@Excel(name = "工号", width = 15)
    @ApiModelProperty(value = "工号")
    private String workNumber;
	/**地址ID*/
	@Excel(name = "地址ID", width = 15)
    @ApiModelProperty(value = "地址ID")
    private String buyerAddressId;
	/**审核人*/
	@Excel(name = "审核人", width = 15)
    @ApiModelProperty(value = "审核人")
    private String auditUsername;
	/**状态：0-未审核 1-审核中 2-已通过 3-已驳回*/
	@Excel(name = "状态：0-未审核 1-审核中 2-已通过 3-已驳回", width = 15, dicCode = "audit_status")
	@Dict(dicCode = "audit_status")
    @ApiModelProperty(value = "状态：0-未审核 1-审核中 2-已通过 3-已驳回")
    private Integer auditStatus;
	/**是否冻结*/
	@Excel(name = "是否冻结", width = 15, dicCode = "is_locked")
	@Dict(dicCode = "is_locked")
    @ApiModelProperty(value = "是否冻结")
    private Integer isLocked;
	/**逻辑删除：0-未删除,1-删除。*/
	@Excel(name = "逻辑删除：0-未删除,1-删除。", width = 15)
    @ApiModelProperty(value = "逻辑删除：0-未删除,1-删除。")
    private Integer isDeleted;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

	@TableField(exist = false)
	private Integer pageNo;

	@TableField(exist = false)
	private Integer pageSize;
}
